<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1>首页</h1>
<a th:href="@{/hello/testRequestMapping}">测试RequestMapping注解的位置</a><br>
<a th:href="@{/hello/testRequestMapping}">测试RequestMapping注解的value属性--> /testRequestMapping</a><br>
<a th:href="@{/hello/test}">测试RequestMapping注解的value属性--> /test</a><br>
<a th:href="@{/hello/test}">测试RequestMapping注解的method属性--> GET</a><br>
<form th:action="@{/hello/test}" method="post">
    <input type="submit" value="测试RequestMapping注解的method属性-->post">
</form>
<a th:href="@{/hello/testGetMapping}">测试GetMapping注解 --> testGetMapping</a>
<form th:action="@{/hello/testPut}" method="put">
    <input type="submit" value="测试form表单是否能够发送put请求或delete请求">
</form>
<a th:href="@{/hello/testParamsAndHeaders(username='admin',password=123)}">测试RequestMapping的params属性-->/testParamsAndHeaders</a><br>

<a th:href="@{/hello/aoa/testAnt}">测试@RequestMapping可以匹配ant风格的路径 --> ? testAnt</a><br>
<a th:href="@{/hello/a132a/testAnt}">测试@RequestMapping可以匹配ant风格的路径 --> * testAnt</a><br>
<a th:href="@{/hello/a132a/testAnt}">测试@RequestMapping可以匹配ant风格的路径 --> ** testAnt</a><br>
<a th:href="@{/hello/testPath/1/admin/}">测试@RequestMapping支持路径中的占位符 --> testPath</a><br>


</body>
</html>